
export interface chatMessageRequest {
  content : string;
}
//chat创建响应
export interface chatResponse {
  id : string;
  object : string;
  created : number;
  sentence_id : number;
  is_end : boolean;
  is_truncated : boolean;
  result : string;
  need_clear_history : boolean;
  ban_round : number;
  usage : chatUsage;
  function_call : chatFunctionCall
}
export interface chatUsage {
  prompt_tokens : number;
  completion_tokens : number;
  total_tokens : number;
  plugins : Array<chatPlugin>;
}
export interface chatPlugin {
  name : string;
  parse_tokens : number;
  abstract_tokens : number;
  search_tokens : number;
  total_tokens : number;
}
export interface chatFunctionCall {
  name : string;
  thoughts : string;
  arguments : string;
}